package com.kai.admin.data;

import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author weijk
 * @since 2023/6/29
 */
@Data
@Accessors(chain = true)
public class SourceUser {

    private static final long serialVersionUID = 5045786279664854772L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 角色
     */
    private List<String> role;

    /**
     * token过期时间
     */
    private LocalDateTime expirationTime;
}

